package com.lsl.data_bus.example.data;

/**
 * description:
 *
 * @author: liushengli
 * data: 2023/1/12
 */
public class MessageData extends AbstractDataType {

    private final String message;

    public MessageData(String message) {
        this.message = message;
    }

    public String getMessage() {
        return message;
    }

    public static DataType of(final String message) {
        return new MessageData(message);
    }
}
